package com.mycat.rpc;

/**
 * 服务端接口实现
 *
 * @author roger.
 * @email 190642964@qq.com
 * @create 2017-02-10
 */
public class EchoServiceImpl implements EchoService {
    @Override
    public String echo(String ping) {
        return null != ping ? ping + " --> I am ok." : "I am ok.";
    }

    @Override
    public String hello(String name) {
        return "hello " + name;
    }
}
